
export function MYbeforeClose(done: Function, t: boolean) {
    if (!t) {
        done()
    } else {
        const e = window.confirm('确定要关闭')
        if (e) {
            done()
        }
    }
}